package com.coolwar.design.proxy.dynamic.feign;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "radar-service", url = "${radar.engine.url}")
public interface ObjectFeignClient {
    @PostMapping(value = "/services/v1/uploadInfo")
    Object check(@RequestParam("modelGuid") String modelGuid, @RequestParam("reqId") String reqId, @RequestParam("jsonInfo") String jsonInfo);

    @PostMapping(value = "/services/v1/getEventScore")
    Object getEventScore(@RequestParam("modelGuid") String modelGuid, @RequestParam("reqId") String reqId, @RequestParam("jsonInfo") String jsonInfo);
}
